package com.demo.apparel.mapper.uniapp;

import com.demo.apparel.entity.AdminInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface WxAdminMapper {
    @Select("""
    SELECT nickname, avatar
    FROM admin_info
    WHERE admin_id = #{adminId}
""")
    AdminInfo selectAdminInfoById(@Param("adminId") String adminId);

}
